package com.zx.web.sys_user.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zx.web.sys_reader.entity.SysReader;
import com.zx.web.sys_user.entity.PageParm;
import com.zx.web.sys_user.entity.SysUser;

public interface SysUserService extends IService<SysUser> {
    //列表
    IPage<SysUser> list(PageParm parm);

    void addUser(SysUser user);
    void editUser(SysUser user);

    //根据用户名查询用户
    SysUser loadByUsername(String username);
}

